0

EDA1

No Headings

The table of contents shows headings in notebooks and supported files.

Skip to Main
Jupyter

EDA1

Last Checkpoint: 6 seconds ago
  • File
  • Edit
  • View
  • Run
  • Kernel
  • Settings
  • Help
JupyterLab
    [9]:
    Unnamed: 0 Ozone Solar.R Wind Temp C Month Day Year Temp Weather
    0 1 41.0 190.0 7.4 67 5 1 2010 67 S
    1 2 36.0 118.0 8.0 72 5 2 2010 72 C
    2 3 12.0 149.0 12.6 74 5 3 2010 74 PS
    3 4 18.0 313.0 11.5 62 5 4 2010 62 S
    4 5 NaN NaN 14.3 56 5 5 2010 56 S
    ... ... ... ... ... ... ... ... ... ... ...
    153 154 41.0 190.0 7.4 67 5 1 2010 67 C
    154 155 30.0 193.0 6.9 70 9 26 2010 70 PS
    155 156 NaN 145.0 13.2 77 9 27 2010 77 S
    156 157 14.0 191.0 14.3 75 9 28 2010 75 S
    157 158 18.0 131.0 8.0 76 9 29 2010 76 C

    158 rows × 10 columns

    <class 'pandas.core.frame.DataFrame'>
    RangeIndex: 158 entries, 0 to 157
    Data columns (total 10 columns):
     #   Column      Non-Null Count  Dtype  
    ---  ------      --------------  -----  
     0   Unnamed: 0  158 non-null    int64  
     1   Ozone       120 non-null    float64
     2   Solar.R     151 non-null    float64
     3   Wind        158 non-null    float64
     4   Temp C      158 non-null    object 
     5   Month       158 non-null    object 
     6   Day         158 non-null    int64  
     7   Year        158 non-null    int64  
     8   Temp        158 non-null    int64  
     9   Weather     155 non-null    object 
    dtypes: float64(3), int64(4), object(3)
    memory usage: 12.5+ KB
    
         Unnamed: 0  Ozone  Solar.R  Wind Temp C Month  Day  Year  Temp Weather
    0             1   41.0    190.0   7.4     67     5    1  2010    67       S
    1             2   36.0    118.0   8.0     72     5    2  2010    72       C
    2             3   12.0    149.0  12.6     74     5    3  2010    74      PS
    3             4   18.0    313.0  11.5     62     5    4  2010    62       S
    4             5    NaN      NaN  14.3     56     5    5  2010    56       S
    ..          ...    ...      ...   ...    ...   ...  ...   ...   ...     ...
    153         154   41.0    190.0   7.4     67     5    1  2010    67       C
    154         155   30.0    193.0   6.9     70     9   26  2010    70      PS
    155         156    NaN    145.0  13.2     77     9   27  2010    77       S
    156         157   14.0    191.0  14.3     75     9   28  2010    75       S
    157         158   18.0    131.0   8.0     76     9   29  2010    76       C
    
    [158 rows x 10 columns]
    
    <class 'pandas.core.frame.DataFrame'>
    (158, 10)
    1580
    
    [27]:
    Ozone Solar.R Wind Month Day Year Temp Weather
    0 41.0 190.0 7.4 5 1 2010 67 S
    1 36.0 118.0 8.0 5 2 2010 72 C
    2 12.0 149.0 12.6 5 3 2010 74 PS
    3 18.0 313.0 11.5 5 4 2010 62 S
    4 NaN NaN 14.3 5 5 2010 56 S
    ... ... ... ... ... ... ... ... ...
    153 41.0 190.0 7.4 5 1 2010 67 C
    154 30.0 193.0 6.9 9 26 2010 70 PS
    155 NaN 145.0 13.2 9 27 2010 77 S
    156 14.0 191.0 14.3 9 28 2010 75 S
    157 18.0 131.0 8.0 9 29 2010 76 C

    158 rows × 8 columns

    <class 'pandas.core.frame.DataFrame'>
    RangeIndex: 158 entries, 0 to 157
    Data columns (total 8 columns):
     #   Column   Non-Null Count  Dtype  
    ---  ------   --------------  -----  
     0   Ozone    120 non-null    float64
     1   Solar.R  151 non-null    float64
     2   Wind     158 non-null    float64
     3   Month    158 non-null    object 
     4   Day      158 non-null    int64  
     5   Year     158 non-null    int64  
     6   Temp     158 non-null    int64  
     7   Weather  155 non-null    object 
    dtypes: float64(3), int64(3), object(2)
    memory usage: 10.0+ KB
    
    <class 'pandas.core.frame.DataFrame'>
    RangeIndex: 158 entries, 0 to 157
    Data columns (total 8 columns):
     #   Column   Non-Null Count  Dtype  
    ---  ------   --------------  -----  
     0   Ozone    120 non-null    float64
     1   Solar.R  151 non-null    float64
     2   Wind     158 non-null    float64
     3   Month    157 non-null    float64
     4   Day      158 non-null    int64  
     5   Year     158 non-null    int64  
     6   Temp     158 non-null    int64  
     7   Weather  155 non-null    object 
    dtypes: float64(4), int64(3), object(1)
    memory usage: 10.0+ KB
    
    [33]:
    Ozone Solar.R Wind Month Day Year Temp Weather
    156 14.0 191.0 14.3 9.0 28 2010 75 S
    [35]:
    data1[data1.duplicated(keep=False)]
    [35]:
    Ozone Solar.R Wind Month Day Year Temp Weather
    150 14.0 191.0 14.3 9.0 28 2010 75 S
    156 14.0 191.0 14.3 9.0 28 2010 75 S
    [39]:
    data1.drop_duplicates(keep='first',inplace = True)
    data1
    [39]:
    Ozone Solar.R Wind Month Day Year Temp Weather
    0 41.0 190.0 7.4 5.0 1 2010 67 S
    1 36.0 118.0 8.0 5.0 2 2010 72 C
    2 12.0 149.0 12.6 5.0 3 2010 74 PS
    3 18.0 313.0 11.5 5.0 4 2010 62 S
    4 NaN NaN 14.3 5.0 5 2010 56 S
    ... ... ... ... ... ... ... ... ...
    152 20.0 223.0 11.5 9.0 30 2010 68 S
    153 41.0 190.0 7.4 5.0 1 2010 67 C
    154 30.0 193.0 6.9 9.0 26 2010 70 PS
    155 NaN 145.0 13.2 9.0 27 2010 77 S
    157 18.0 131.0 8.0 9.0 29 2010 76 C

    157 rows × 8 columns

    [ ]:

    Common Tools
    No metadata.
    Advanced Tools
    No metadata.
    Anaconda Assistant
    AI-powered coding, insights and debugging in your notebooks.
    To enable the following extensions, create an account or sign in.
    • Anaconda Assistant
      4.1.0
    • Coming soon!
    • Data Catalogs
    • Panel Deployments
    • Sharing
    Already have an account? Sign In
    For more information, read our Anaconda Assistant documentation.
    Python [conda env:base] *
    Kernel status: Idle
    image/svg+xml
    Alt+[
    Alt+]
    Alt+End
    • Assistant
    • Open Anaconda Assistant
      Ctrl+Shift+A
    • Console
    • Change Kernel…
    • Clear Console Cells
    • Close and Shut Down…
    • Insert Line Break
    • Interrupt Kernel
    • New Console
    • Restart Kernel…
    • Run Cell (forced)
    • Run Cell (unforced)
    • Show All Kernel Activity
    • Display Languages
    • English
      English
    • File Operations
    • Autosave Documents
    • Download
      Download the file to your computer
    • Reload File from Disk
      Reload contents from disk
    • Revert File to Checkpoint…
      Revert contents to previous checkpoint
    • Save File
      Save and create checkpoint
      Ctrl+S
    • Save File As…
      Save with new path
      Ctrl+Shift+S
    • Trust HTML File
      Whether the HTML file is trusted. Trusting the file allows scripts to run in it, which may result in security risks. Only enable for files you trust.
    • Help
    • About Jupyter Notebook
    • Jupyter Reference
    • JupyterLab FAQ
    • JupyterLab Reference
    • Launch Jupyter Notebook File Browser
    • Markdown Reference
    • Show Keyboard Shortcuts…
      Show relevant keyboard shortcuts for the current active widget
      Ctrl+Shift+H
    • Image Viewer
    • Flip image horizontally
      H
    • Flip image vertically
      V
    • Invert Colors
      I
    • Reset Image
      0
    • Rotate Clockwise
      ]
    • Rotate Counterclockwise
      [
    • Zoom In
      =
    • Zoom Out
      -
    • Kernel Operations
    • Shut Down All Kernels…
    • Main Area
    • Close All Other Tabs
    • Close Tab
      Alt+W
    • Close Tabs to Right
    • End Search
      Esc
    • Find Next
      Ctrl+G
    • Find Previous
      Ctrl+Shift+G
    • Find…
      Ctrl+F
    • Log Out
      Log out of Jupyter Notebook
    • Search in Selection
      Alt+L
    • Shut Down
      Shut down Jupyter Notebook
    • Mode
    • Toggle Zen Mode
    • Notebook Cell Operations
    • Change to Code Cell Type
      Y
    • Change to Heading 1
      1
    • Change to Heading 2
      2
    • Change to Heading 3
      3
    • Change to Heading 4
      4
    • Change to Heading 5
      5
    • Change to Heading 6
      6
    • Change to Markdown Cell Type
      M
    • Change to Raw Cell Type
      R
    • Clear Cell Output
      Clear outputs for the selected cells
    • Collapse All Code
    • Collapse All Outputs
    • Collapse Selected Code
    • Collapse Selected Outputs
    • Copy Cell
      Copy this cell
      C
    • Cut Cell
      Cut this cell
      X
    • Delete Cell
      Delete this cell
      D, D
    • Disable Scrolling for Outputs
    • Enable Scrolling for Outputs
    • Expand All Code
    • Expand All Outputs
    • Expand Selected Code
    • Expand Selected Outputs
    • Extend Selection Above
      Shift+K
    • Extend Selection Below
      Shift+J
    • Extend Selection to Bottom
      Shift+End
    • Extend Selection to Top
      Shift+Home
    • Insert Cell Above
      Insert a cell above
      A
    • Insert Cell Below
      Insert a cell below
      B
    • Insert Heading Above Current Heading
      Shift+A
    • Insert Heading Below Current Heading
      Shift+B
    • Merge Cell Above
      Ctrl+Backspace
    • Merge Cell Below
      Ctrl+Shift+M
    • Merge Selected Cells
      Shift+M
    • Move Cell Down
      Move this cell down
      Ctrl+Shift+Down
    • Move Cell Up
      Move this cell up
      Ctrl+Shift+Up
    • Paste Cell Above
      Paste this cell from the clipboard
    • Paste Cell and Replace
    • Paste Cell Below
      Paste this cell from the clipboard
      V
    • Redo Cell Operation
      Shift+Z
    • Render Side-by-Side
      Shift+R
    • Run Selected Cell
      Run this cell and advance
      Shift+Enter
    • Run Selected Cell and Do not Advance
      Ctrl+Enter
    • Run Selected Cell and Insert Below
      Alt+Enter
    • Run Selected Text or Current Line in Console
    • Select Cell Above
      K
    • Select Cell Below
      J
    • Select Heading Above or Collapse Heading
      Left
    • Select Heading Below or Expand Heading
      Right
    • Set side-by-side ratio
    • Split Cell
      Ctrl+Shift+-
    • Undo Cell Operation
      Z
    • Notebook Operations
    • Access Next Kernel History Entry
      Alt+Down
    • Access Previous Kernel History Entry
      Alt+Up
    • Change Kernel…
    • Clear Outputs of All Cells
      Clear all outputs of all cells
    • Close and Shut Down Notebook…
    • Collapse All Headings
      Ctrl+Shift+Left
    • Deselect All Cells
    • Edit Notebook Metadata
    • Enter Command Mode
      Ctrl+M
    • Enter Edit Mode
      Enter
    • Expand All Headings
      Ctrl+Shift+Right
    • Interrupt Kernel
      Interrupt the kernel
    • New Console for Notebook
    • New Notebook
      Create a new notebook
    • Open with Panel in New Browser Tab
    • Preview Notebook with Panel
    • Reconnect to Kernel
    • Render All Markdown Cells
    • Restart Kernel and Clear Outputs of All Cells…
      Restart the kernel and clear all outputs of all cells
    • Restart Kernel and Debug…
      Restart Kernel and Debug…
    • Restart Kernel and Run All Cells…
      Restart the kernel and run all cells
    • Restart Kernel and Run up to Selected Cell…
    • Restart Kernel…
      Restart the kernel
    • Run All Above Selected Cell
    • Run All Cells
      Run all cells
    • Run Selected Cell and All Below
    • Save and Export Notebook: Asciidoc
    • Save and Export Notebook: Executable Script
    • Save and Export Notebook: HTML
    • Save and Export Notebook: LaTeX
    • Save and Export Notebook: Markdown
    • Save and Export Notebook: PDF
    • Save and Export Notebook: Qtpdf
    • Save and Export Notebook: Qtpng
    • Save and Export Notebook: ReStructured Text
    • Save and Export Notebook: Reveal.js Slides
    • Save and Export Notebook: Webpdf
    • Select All Cells
      Ctrl+A
    • Show Line Numbers
    • Toggle Collapse Notebook Heading
    • Trust Notebook
    • Other
    • Open in JupyterLab
      JupyterLab
    • Plugin Manager
    • Advanced Plugin Manager
    • Terminal
    • Decrease Terminal Font Size
    • Increase Terminal Font Size
    • New Terminal
      Start a new terminal session
    • Refresh Terminal
      Refresh the current terminal session
    • Use Terminal Theme: Dark
      Set the terminal theme
    • Use Terminal Theme: Inherit
      Set the terminal theme
    • Use Terminal Theme: Light
      Set the terminal theme
    • Text Editor
    • Decrease Font Size
    • Increase Font Size
    • New Markdown File
      Create a new markdown file
    • New Python File
      Create a new Python file
    • New Text File
      Create a new text file
    • Spaces: 1
    • Spaces: 2
    • Spaces: 4
    • Spaces: 4
    • Spaces: 8
    • Theme
    • Decrease Code Font Size
    • Decrease Content Font Size
    • Decrease UI Font Size
    • Increase Code Font Size
    • Increase Content Font Size
    • Increase UI Font Size
    • Set Preferred Dark Theme: JupyterLab Dark
    • Set Preferred Dark Theme: JupyterLab Dark High Contrast
    • Set Preferred Dark Theme: JupyterLab Light
    • Set Preferred Light Theme: JupyterLab Dark
    • Set Preferred Light Theme: JupyterLab Dark High Contrast
    • Set Preferred Light Theme: JupyterLab Light
    • Synchronize Styling Theme with System Settings
    • Theme Scrollbars
    • Use Theme: JupyterLab Dark
    • Use Theme: JupyterLab Dark High Contrast
    • Use Theme: JupyterLab Light
    • View
    • File Browser
    • Open JupyterLab
    • Show Anaconda Assistant
      Show Show Anaconda Assistant in the right sidebar
    • Show Header
    • Show Notebook Tools
      Show Show Notebook Tools in the right sidebar
    • Show Table of Contents
      Show Show Table of Contents in the left sidebar